package com.oo.exception_5.exception_chain;

/**
 * Test--异常连
 *
 * @author: Jovi
 * @createTime: 2017-05-10 15:30
 **/
public class Test {

    public static void main(String[] args) {
        try {
            throw new Exception("Exception类型的异常");
        } catch (Exception e) {
            throw new MyException("自定义异常", e);
        }
    }
}
